using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;

namespace Bamboo.Core.Common.Collection
{
    public class HashUtil
    {
        public static void Merge(Hashtable mainHash, Hashtable hashToMerge)
        {
            if (hashToMerge != null)
            {
                IDictionaryEnumerator dictEnum = hashToMerge.GetEnumerator();
                while (dictEnum.MoveNext())
                {
                    mainHash[dictEnum.Key] = dictEnum.Value;
                }
            }
        }
    }
}
